package com.smartwasser.yunhtgl.apphtgl.activity;

import android.os.Handler;
import android.view.View;

import com.smartwasser.yunhtgl.apphtgl.R;
import com.smartwasser.yunhtgl.apphtgl.base.BaseActivity;

public class StartOnceActivity extends BaseActivity {
    private Handler handler = new Handler();

    @Override
    public void setContentLayout() {
        setContentView(R.layout.activity_splash);
    }

    @Override
    public void initView() {
    }

    @Override
    public void initData() {
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                startActivity(LoginActivity.class);
                finish();
            }
        }, 1000);
    }

    @Override
    public void onClick(View view) {

    }
}
